#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018-12-05 16:09
# @Author  : 少爷

from sys import stdout

for i in range(4):
    for j in range(2 - i + 1):
        stdout.write(' ')

    for k in range(2 * i + 1):
        stdout.write('*')

    print

for i in range(3):
    for j in range(i + 1):
        stdout.write(' ')

    for k in range(4 - 2 * i + 1):
        stdout.write('*')

    print
